import { createStore } from 'vuex'

// vuex的应用的控制动态路由的获取

export default createStore({
    state() {
        return {
            isGetRoute: false
        }
    },
    mutations: {
        changeIsGetRoute(state, payload) {
            state.isGetRoute = payload.isGetRoute
        }
    }
})